package com.macrohard.mapper.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName activiting
 */
@TableName(value ="activiting")
public class Activiting implements Serializable {
    /**
     * 
     */
    @TableId(value = "A_R_id")
    private Integer aRId;

    /**
     *  multi id
     */
    @TableField(value = "A_S_id")
    private String aSId;

    /**
     * m id
     */
    @TableField(value = "A_R_Session")
    private Integer aRSession;

    /**
     * 
     */
    @TableField(value = "A_status")
    private Integer aStatus;

    /**
     * 
     */
    @TableField(value = "A_grade")
    private Integer aGrade;

    /**
     * 
     */
    @TableField(value = "A_devicecode")
    private String aDevicecode;

    /**
     * 
     */
    @TableField(value = "A_level")
    private Integer aLevel;

    /**
     * 
     */
    @TableField(value = "A_firsttime")
    private Date aFirsttime;

    /**
     * 
     */
    @TableField(value = "A_secdevicecode")
    private String aSecdevicecode;

    /**
     * 
     */
    @TableField(value = "A_secondtime")
    private Date aSecondtime;

    /**
     * 
     */
    @TableField(value = "A_thirddevicecode")
    private String aThirddevicecode;

    /**
     * 
     */
    @TableField(value = "A_thirdtime")
    private Date aThirdtime;

    /**
     * 
     */
    @TableField(value = "A_fourdevicecode")
    private String aFourdevicecode;

    /**
     * 
     */
    @TableField(value = "A_fourtime")
    private Date aFourtime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getaRId() {
        return aRId;
    }

    /**
     * 
     */
    public void setaRId(Integer aRId) {
        this.aRId = aRId;
    }

    /**
     * 
     */
    public String getaSId() {
        return aSId;
    }

    /**
     * 
     */
    public void setaSId(String aSId) {
        this.aSId = aSId;
    }

    /**
     * 
     */
    public Integer getaRSession() {
        return aRSession;
    }

    /**
     * 
     */
    public void setaRSession(Integer aRSession) {
        this.aRSession = aRSession;
    }

    /**
     * 
     */
    public Integer getaStatus() {
        return aStatus;
    }

    /**
     * 
     */
    public void setaStatus(Integer aStatus) {
        this.aStatus = aStatus;
    }

    /**
     * 
     */
    public Integer getaGrade() {
        return aGrade;
    }

    /**
     * 
     */
    public void setaGrade(Integer aGrade) {
        this.aGrade = aGrade;
    }

    /**
     * 
     */
    public String getaDevicecode() {
        return aDevicecode;
    }

    /**
     * 
     */
    public void setaDevicecode(String aDevicecode) {
        this.aDevicecode = aDevicecode;
    }

    /**
     * 
     */
    public Integer getaLevel() {
        return aLevel;
    }

    /**
     * 
     */
    public void setaLevel(Integer aLevel) {
        this.aLevel = aLevel;
    }

    /**
     * 
     */
    public Date getaFirsttime() {
        return aFirsttime;
    }

    /**
     * 
     */
    public void setaFirsttime(Date aFirsttime) {
        this.aFirsttime = aFirsttime;
    }

    /**
     * 
     */
    public String getaSecdevicecode() {
        return aSecdevicecode;
    }

    /**
     * 
     */
    public void setaSecdevicecode(String aSecdevicecode) {
        this.aSecdevicecode = aSecdevicecode;
    }

    /**
     * 
     */
    public Date getaSecondtime() {
        return aSecondtime;
    }

    /**
     * 
     */
    public void setaSecondtime(Date aSecondtime) {
        this.aSecondtime = aSecondtime;
    }

    /**
     * 
     */
    public String getaThirddevicecode() {
        return aThirddevicecode;
    }

    /**
     * 
     */
    public void setaThirddevicecode(String aThirddevicecode) {
        this.aThirddevicecode = aThirddevicecode;
    }

    /**
     * 
     */
    public Date getaThirdtime() {
        return aThirdtime;
    }

    /**
     * 
     */
    public void setaThirdtime(Date aThirdtime) {
        this.aThirdtime = aThirdtime;
    }

    /**
     * 
     */
    public String getaFourdevicecode() {
        return aFourdevicecode;
    }

    /**
     * 
     */
    public void setaFourdevicecode(String aFourdevicecode) {
        this.aFourdevicecode = aFourdevicecode;
    }

    /**
     * 
     */
    public Date getaFourtime() {
        return aFourtime;
    }

    /**
     * 
     */
    public void setaFourtime(Date aFourtime) {
        this.aFourtime = aFourtime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Activiting other = (Activiting) that;
        return (this.getaRId() == null ? other.getaRId() == null : this.getaRId().equals(other.getaRId()))
            && (this.getaSId() == null ? other.getaSId() == null : this.getaSId().equals(other.getaSId()))
            && (this.getaRSession() == null ? other.getaRSession() == null : this.getaRSession().equals(other.getaRSession()))
            && (this.getaStatus() == null ? other.getaStatus() == null : this.getaStatus().equals(other.getaStatus()))
            && (this.getaGrade() == null ? other.getaGrade() == null : this.getaGrade().equals(other.getaGrade()))
            && (this.getaDevicecode() == null ? other.getaDevicecode() == null : this.getaDevicecode().equals(other.getaDevicecode()))
            && (this.getaLevel() == null ? other.getaLevel() == null : this.getaLevel().equals(other.getaLevel()))
            && (this.getaFirsttime() == null ? other.getaFirsttime() == null : this.getaFirsttime().equals(other.getaFirsttime()))
            && (this.getaSecdevicecode() == null ? other.getaSecdevicecode() == null : this.getaSecdevicecode().equals(other.getaSecdevicecode()))
            && (this.getaSecondtime() == null ? other.getaSecondtime() == null : this.getaSecondtime().equals(other.getaSecondtime()))
            && (this.getaThirddevicecode() == null ? other.getaThirddevicecode() == null : this.getaThirddevicecode().equals(other.getaThirddevicecode()))
            && (this.getaThirdtime() == null ? other.getaThirdtime() == null : this.getaThirdtime().equals(other.getaThirdtime()))
            && (this.getaFourdevicecode() == null ? other.getaFourdevicecode() == null : this.getaFourdevicecode().equals(other.getaFourdevicecode()))
            && (this.getaFourtime() == null ? other.getaFourtime() == null : this.getaFourtime().equals(other.getaFourtime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getaRId() == null) ? 0 : getaRId().hashCode());
        result = prime * result + ((getaSId() == null) ? 0 : getaSId().hashCode());
        result = prime * result + ((getaRSession() == null) ? 0 : getaRSession().hashCode());
        result = prime * result + ((getaStatus() == null) ? 0 : getaStatus().hashCode());
        result = prime * result + ((getaGrade() == null) ? 0 : getaGrade().hashCode());
        result = prime * result + ((getaDevicecode() == null) ? 0 : getaDevicecode().hashCode());
        result = prime * result + ((getaLevel() == null) ? 0 : getaLevel().hashCode());
        result = prime * result + ((getaFirsttime() == null) ? 0 : getaFirsttime().hashCode());
        result = prime * result + ((getaSecdevicecode() == null) ? 0 : getaSecdevicecode().hashCode());
        result = prime * result + ((getaSecondtime() == null) ? 0 : getaSecondtime().hashCode());
        result = prime * result + ((getaThirddevicecode() == null) ? 0 : getaThirddevicecode().hashCode());
        result = prime * result + ((getaThirdtime() == null) ? 0 : getaThirdtime().hashCode());
        result = prime * result + ((getaFourdevicecode() == null) ? 0 : getaFourdevicecode().hashCode());
        result = prime * result + ((getaFourtime() == null) ? 0 : getaFourtime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", aRId=").append(aRId);
        sb.append(", aSId=").append(aSId);
        sb.append(", aRSession=").append(aRSession);
        sb.append(", aStatus=").append(aStatus);
        sb.append(", aGrade=").append(aGrade);
        sb.append(", aDevicecode=").append(aDevicecode);
        sb.append(", aLevel=").append(aLevel);
        sb.append(", aFirsttime=").append(aFirsttime);
        sb.append(", aSecdevicecode=").append(aSecdevicecode);
        sb.append(", aSecondtime=").append(aSecondtime);
        sb.append(", aThirddevicecode=").append(aThirddevicecode);
        sb.append(", aThirdtime=").append(aThirdtime);
        sb.append(", aFourdevicecode=").append(aFourdevicecode);
        sb.append(", aFourtime=").append(aFourtime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}